<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	<link href="https://cdn.bootcss.com/bootstrap/4.1.0/css/bootstrap.min.css" rel="stylesheet">
	<style type="text/css">
		body{
			padding:0px;
			margin:0px;
		}
		.container-fluid{
			width:100vw;
			height:100vh;
			padding:0px;
			margin:0px;
		}
	</style>
</head>
<body>
	<div class="container-fluid">
		<div class="row">
			<div class="col-md-3 col-md-offset-3" style="margin: 20% auto">
				<form class="form-horizontal" method="post" action="/login/login" id="login" onsubmit="validate()">
				  <div class="form-group">
				    <label for="adminAccount">账号：</label>
				    <input type="text" class="form-control" name="adminAccount" required="required" id="adminAccount" placeholder="输入账号">
				  </div>
				  <div class="form-group">
				    <label for="adminPassword">密码：</label>
				    <input type="password" class="form-control" name="adminPassword" required="required" id="adminPassword" placeholder="输入密码">
				  </div>
				  <button type="submit" id="submit" style="width:100%;background:#00ff00;color:#fff" class="btn btn-default">登&nbsp;&nbsp;录</button>
				</form>
			</div>
		</div>
	</div>
</body>
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdn.bootcss.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
<script type="text/javascript">

function validate(){
	var adminAccount = $('#adminAccount').val();
	var adminPassword = $('#adminPassword').val();
	if(adminAccount === ''){
		return false;
	}
	if(adminPassword === ''){
		return false;
	}
}
</script>
</html>